package component.fy.com.common_module.bean;

public class CheckAppVersionBean {

    /**
     * result : {"appName":"饭碗易购","appVersion":"2.0","appDownLoad":"http://www.fanwanyigou.com/apk/1.apk","appType":1,"creatorUserId":"","creationTime":"2018-05-24T15:05:00","id":"8a9fc935-3dd8-4f27-ea5d-ca27722ebe5f"}
     * targetUrl :
     * success : true
     * error : {"code":0,"message":"当前汽车还未审核完结","details":"","validationErrors":""}
     * unAuthorizedRequest : false
     * __abp : true
     */

    private ResultBean result;
    private String targetUrl;
    private boolean success;
    private ErrorBean error;
    private boolean unAuthorizedRequest;
    private boolean __abp;

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getTargetUrl() {
        return targetUrl;
    }

    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public ErrorBean getError() {
        return error;
    }

    public void setError(ErrorBean error) {
        this.error = error;
    }

    public boolean isUnAuthorizedRequest() {
        return unAuthorizedRequest;
    }

    public void setUnAuthorizedRequest(boolean unAuthorizedRequest) {
        this.unAuthorizedRequest = unAuthorizedRequest;
    }

    public boolean is__abp() {
        return __abp;
    }

    public void set__abp(boolean __abp) {
        this.__abp = __abp;
    }

    public static class ResultBean {
        /**
         * appName : 饭碗易购
         * appVersion : 2.0
         * appDownLoad : http://www.fanwanyigou.com/apk/1.apk
         * appType : 1
         * creatorUserId :
         * creationTime : 2018-05-24T15:05:00
         * id : 8a9fc935-3dd8-4f27-ea5d-ca27722ebe5f
         */

        private String appName;
        private String appVersion;
        private String appDownLoad;
        private int appType;
        private String creatorUserId;
        private String creationTime;
        private String id;

        public String getAppName() {
            return appName;
        }

        public void setAppName(String appName) {
            this.appName = appName;
        }

        public String getAppVersion() {
            return appVersion;
        }

        public void setAppVersion(String appVersion) {
            this.appVersion = appVersion;
        }

        public String getAppDownLoad() {
            return appDownLoad;
        }

        public void setAppDownLoad(String appDownLoad) {
            this.appDownLoad = appDownLoad;
        }

        public int getAppType() {
            return appType;
        }

        public void setAppType(int appType) {
            this.appType = appType;
        }

        public String getCreatorUserId() {
            return creatorUserId;
        }

        public void setCreatorUserId(String creatorUserId) {
            this.creatorUserId = creatorUserId;
        }

        public String getCreationTime() {
            return creationTime;
        }

        public void setCreationTime(String creationTime) {
            this.creationTime = creationTime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }

    public static class ErrorBean {
        /**
         * code : 0
         * message : 当前汽车还未审核完结
         * details :
         * validationErrors :
         */

        private int code;
        private String message;
        private String details;
        private String validationErrors;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getDetails() {
            return details;
        }

        public void setDetails(String details) {
            this.details = details;
        }

        public String getValidationErrors() {
            return validationErrors;
        }

        public void setValidationErrors(String validationErrors) {
            this.validationErrors = validationErrors;
        }
    }
}
